home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9352 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: solon.com!not-for-mail
  2. From: seebs@solutions.solon.com (Peter Seebach)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Schildt <- Advanced Books
  5. Date: 9 Mar 1996 12:48:46 -0600
  6. Organization: Usenet Fact Police (Undercover)
  7. Message-ID: <4hsjqe$b91@solutions.solon.com>
  8. References: <8BA8405.02C70020DE.uuout@sourcebbs.com> <4hmojk$ij2@news.interpath.net> <4hmqqe$aoo@solutions.solon.com> <3140BAC7.7608@oc.com>
  9. NNTP-Posting-Host: solutions.solon.com
  10.  
  11. In article <3140BAC7.7608@oc.com>, Larry Weiss  <lfw@oc.com> wrote:
  12. >Peter Seebach wrote:
  13. > > Schildt sent me a fax explaining why he believes void main is legal by the
  14. > > standard; I wrote back, but haven't heard anything about it since...
  15.  
  16. >What was the gist of Schildt's argument justifying void main() ?
  17.  
  18. I don't have it with me, but basically, his claim was based on the fact
  19. that there was no explicit prohibition, and that it says main is declared
  20. with no prototype.  He mentioned testing it on Borland and Microsoft
  21. compilers, and was surprised that Borland gave the warning with -A on.
  22.  
  23. I wrote back quoting the section which says it is undefined if there is no
  24. explicit definition, and haven't heard from either him or the publisher
  25. since.
  26.  
  27. Disappointing; I could use the money, and they could use the editing.
  28.  
  29. -s
  30. -- 
  31. Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
  32. C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
  33. FUCK the communications decency act.  Goddamned government.  [literally.]
  34. The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
  35.